package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: FansAndLike
 * @Description: java类作用描述
 * @Author: ljp
 * @CreateDate: 2018/10/23 11:20
 * @Version: 1.0
 */
public class FansAndLike {

    /**
     * code : 200
     * msg : 成功
     * page : {"pageNo":1,"pageSize":30,"count":1,"list":[{"isNewRecord":true,"userId":"4cffd1c897fc4f0fbf7e344b339f82bc","nickName":"我叫123","avatarUrl":"123.jpg","gender":"1","birthday":"1995年10月21","autograph":"比心","uType":"2","vType":"0","state":"2"}],"maxResults":30,"firstResult":0}
     */

    private int code;
    private String msg;
    private PageBean page;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class PageBean {
        /**
         * pageNo : 1
         * pageSize : 30
         * count : 1
         * list : [{"isNewRecord":true,"userId":"4cffd1c897fc4f0fbf7e344b339f82bc","nickName":"我叫123","avatarUrl":"123.jpg","gender":"1","birthday":"1995年10月21","autograph":"比心","uType":"2","vType":"0","state":"2"}]
         * maxResults : 30
         * firstResult : 0
         */

        private int pageNo;
        private int pageSize;
        private int count;
        private int maxResults;
        private int firstResult;
        private List<ListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * isNewRecord : true
             * userId : 4cffd1c897fc4f0fbf7e344b339f82bc
             * nickName : 我叫123
             * avatarUrl : 123.jpg
             * gender : 1
             * birthday : 1995年10月21
             * autograph : 比心
             * uType : 2
             * vType : 0
             * state : 2
             */
            private boolean isNewRecord;
            private String userId;//用户id
            private String nickName;//用户昵称
            private String avatarUrl;//头像地址
            private String gender;//性别 1男 2女
            private String birthday;//出生日期
            private String autograph;//签名
            private String uType;//  1 普通用户 2主播
            private String vType;// 会员等级 0非会员 1月会员 2年会员
            private String state;//1 未关注 2已经关注 3互相关注

            private String updateDate;//谁看过我，查看时间


            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getAutograph() {
                return autograph;
            }

            public void setAutograph(String autograph) {
                this.autograph = autograph;
            }

            public String getUType() {
                return uType;
            }

            public void setUType(String uType) {
                this.uType = uType;
            }

            public String getVType() {
                return vType;
            }

            public void setVType(String vType) {
                this.vType = vType;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }


            @Override
            public String toString() {
                return "ListBean{" +
                        "isNewRecord=" + isNewRecord +
                        ", userId='" + userId + '\'' +
                        ", nickName='" + nickName + '\'' +
                        ", avatarUrl='" + avatarUrl + '\'' +
                        ", gender='" + gender + '\'' +
                        ", birthday='" + birthday + '\'' +
                        ", autograph='" + autograph + '\'' +
                        ", uType='" + uType + '\'' +
                        ", vType='" + vType + '\'' +
                        ", state='" + state + '\'' +
                        ", updateDate='" + updateDate + '\'' +
                        '}';
            }
        }
    }
}
